/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*
*	Julio Montes e-mail: imc.coder@gmail.com
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#ifndef ALLIANCE_CREATEPRJDLG_H
#define ALLIANCE_CREATEPRJDLG_H

#include <wx/wx.h>

namespace alliance
{
    class CreateProjectDialog : public wxDialog
    {
    public:
        CreateProjectDialog( wxWindow *parent );
        virtual ~CreateProjectDialog();

        wxString GetProjectFilename() const;

        wxString GetProjectName() const;
    protected:
    private:
        wxTextCtrl *m_tcProjectName;
        wxTextCtrl *m_tcProjectDir;
        wxTextCtrl *m_tcProjectFullPath;

        void UpdateFullPath();

        void OnOk( wxCommandEvent &evt );
        void OnSearchDirectory( wxCommandEvent &evt );
        void OnTextUpdate( wxCommandEvent &evt );
    };
}
#endif
